package com.site.wisdom_construction.service.publicModule;

import com.site.wisdom_construction.dao.publicModule.ProfessionalTypesDao;
import com.site.wisdom_construction.entity.publicModule.ProfessionalTypes;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/5/26
 * @Description
 */
@Service
public class ProfessionalTypesService implements ProfessionalTypesDao {
    @Autowired
    private ProfessionalTypesDao professionalTypesDao;

    @Override
    public int insertProfessionalTypes(Map map) {
        return professionalTypesDao.insertProfessionalTypes(map);
    }

    @Override
    public int deleteProfessionalTypes(Map map) {
        return professionalTypesDao.deleteProfessionalTypes(map);
    }

    @Override
    public int updateProfessionalTypes(Map map) {
        return professionalTypesDao.updateProfessionalTypes(map);
    }

    @Override
    public List<ProfessionalTypes> findProfessionalTypesByPage(Map map) {
        return professionalTypesDao.findProfessionalTypesByPage(map);
    }

    @Override
    public long Total(Map map) {
        return professionalTypesDao.Total(map);
    }

    @Override
    public List<ProfessionalTypes> selectProfessionalTypes(Map map) {
        return professionalTypesDao.selectProfessionalTypes(map);
    }
}
